/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-10-30 14:55:52   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_client_bank_card-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientBankCard extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id
	 */
	@ApiModelProperty(value = "用户id")
	 private Long clientId;
	/**
	 * 银行
	 */
	@ApiModelProperty(value = "银行")
	 private String bank;
	/**
	 * 银行卡号
	 */
	@ApiModelProperty(value = "银行卡号")
	 private String cardNo;
	/**
	 * 预留手机号码
	 */
	@ApiModelProperty(value = "预留手机号码")
	 private String phone;
	/**
	 * 持卡人姓名
	 */
	@ApiModelProperty(value = "持卡人姓名")
	 private String name;
	/**
	 * 签约协议编号
	 */
	@ApiModelProperty(value = "签约协议编号")
	 private String agreeNo;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createTime;
	/**
	 * 0-借记卡
	 */
	@ApiModelProperty(value = "0-借记卡")
	 private Integer type;
	/**
	 * 0-放款银行卡   1-还款银行卡
	 */
	@ApiModelProperty(value = "0-放款银行卡   1-还款银行卡")
	 private Integer flag;
    
    public ClientBankCard(){
    
    }
    
    public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public String getBank() {
        return this.bank;
    }
    
    public void setBank(String bank) {
        this.bank = bank;
    }
    public String getCardNo() {
        return this.cardNo;
    }
    
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAgreeNo() {
        return this.agreeNo;
    }
    
    public void setAgreeNo(String agreeNo) {
        this.agreeNo = agreeNo;
    }
    public OffsetDateTime getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(OffsetDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getFlag() {
        return this.flag;
    }
    
    public void setFlag(Integer flag) {
        this.flag = flag;
    }
    
}
